package org.judking.CarKeeper.command.EarlyWarning;

import org.judking.CarKeeper.command.BaseObdCommand;

public class TimeAfterIgnitionDetector implements WarningDetector {
	private double time;

	@Override
	public void detect(BaseObdCommand command) {
		time = Double.parseDouble(command.getRipeData().toString());
	}

	public double getTime() {
		return time;
	}

}
